package in.muton.edushare.components.messaging.api;

import com.edushare.common.vo.FilesUploaded;
import com.edushare.common.vo.Users;

public class FileUploadMessage extends Message {

	public static final String EVENT_FILE_UPLOADED 			= "FILE_UPLOAD";
//	public static final String EVENT_FILE_DELETED 			= "FILE_DELETED";
	private String eventType;
	private FilesUploaded fileUploaded;
	
	public FileUploadMessage(FilesUploaded fu, String eventType){
		this.fileUploaded = fu;
		this.eventType = eventType;
	}
	
	@Override
	protected void addditionalProcessing(Users u) {
		// TODO Auto-generated method stub

	}

	@Override
	protected String getMessage() {
		return "<<<EDUSHAREMESSAGINGMETADATA:FILEUPLOAD:"+ eventType + ":" + fileUploaded.getFileUploadedId() + ":>>>";
	}

}
